﻿@{
    ViewBag.Title = "Access Denied";
}

<h1>Access Denied</h1>

<p>Sorry, you do not have access to the requested resource. Try logging in with a user that has higher access.</p>

<hr />

    @using (Html.BeginForm("Login", "User", new { returnUrl = Request.Url.AbsolutePath })) {
        @Html.ValidationSummary()
        @Html.AntiForgeryToken()

        <div class="fieldRow">
            <label for="Username">Username</label>
            @Html.TextBox("Username")
        </div>
        
        <div class="fieldRow">
            <label for="Password">Password</label>
            @Html.Password("Password")
        </div>
    
        <div class="buttonRow compactForm">
            <input type="submit" value="Login" />
        </div>
    }